

;(function(X, $){

var FALSE = false,
	TRUE = true,
    UNDEFINED = undefined,
    Win = this,
	getCfg = X.getCfg,
    req = X.request,
    util = X.util,
    tmpl = X.tmpl,
    model = X.model,
    view = X.view,
    collection = X.collection,
    extend = $.proxy(Backbone.Collection.extend, Backbone.Collection);



$.extend(collection, {

    //example
    productListContent : extend({

        url : '/api/registryApi/GetUniversalRegistryItems',

        parse : function(resp){
            return resp.Data.items;
        },

        model : model['productListItem'],

        getFalse : function(){
            return this.where({done : false})
        }

    }),

    coupleList : extend({

        url : '/api/CSAdminApi/GetCouples', 

        parse : function(res){
            return res.Data.items;
        },

        model : model['coupleListItem']

    }),    

    coupleChosen : extend({

        url : '/api/CSAdminApi/GetCouples', 

        parse : function(res){
            return res.Data.items;
        },

        model : model['coupleListItem']

    }),

    popupClaimSearchList : extend({
    
        //test url
        url : '/api/CSAdminApi/GetCouples',

        parse : function(res) {
            return res.Data.items;
        },

        model : model['popupClaimSearchItem']

    }),
/*
    testCoupleList : extend({

        url : 'api/couplelist.php', 

        parse : function(res){
            return res.Data.items;
        },

        model : model['testCoupleListItem']

    }),

    testCoupleListItem : extend({

        url : '/api/CSAdminApi/GetCouples?registry=re', 

        parse : function(res){
            
            return res.Data.items;
        },

        model : model['testCoupleListItem']

    })  
*/

    testCoupleList : extend({
        url : 'api/couplelist.php',

        parse : function(res){
            return res.Data.items;
        },

        model : model['testCoupleListItem']

    })


})



})(XO, $);